package com.lzq.springblog.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.Date;

@Schema(name = "用户信息")
@Data
@Component
public class UserInfo {
    @Schema(name = "用户id")
    private Integer id;
    @Schema(name = "用户名")
    private String userName;
    @Schema(name = "用户密码")
    private String password;
    @Schema(name = "用户github地址")
    private String githubUrl;
    @Schema(name = "用户头像地址")
    private String avatarUrl;
    private Integer deleteFlag;
    @Schema(name = "用户注册时间")
    private Date createTime;
    private Date updateTime;
}
